package scanning;

public class Location {

	public int column;
	public int row;

	public Location(int column, int row) {
		this.column = column;
		this.row = row;
	}

	@Override
	public boolean equals(Object other) {
		if (!(other instanceof Location))
			return false;
		return ((Location) other).column == column
				&& ((Location) other).row == row;
	}

	@Override
	public String toString() {
		return "col: " + column + ", row: " + row;
	}

}
